package hpasDataEntities;

public class DetailedType
{
    private int id;
    private int generalTypeId;
    private String name;

    public DetailedType()
    {
    }

    public DetailedType(DetailedType detailedType)
    {
        this.id = detailedType.getId();
        this.generalTypeId = detailedType.getGeneralTypeId();
        this.name = detailedType.getName();
    }

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public int getGeneralTypeId()
    {
        return generalTypeId;
    }

    public void setGeneralTypeId(int generalTypeId)
    {
        this.generalTypeId = generalTypeId;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
}
